#include "Driver.h"
GDI g_GDI;
NTSTATUS DriverEntry(PDRIVER_OBJECT pPDriverObj, PUNICODE_STRING pRegistryPath)
{
	
	KAPC_STATE Kpc;
	g_GDI.GDIStartsCalling((HANDLE)2948, &Kpc);
	g_GDI.GDIInitialization();
	HWND hwnd = g_GDI.FindWindowEx(0,0,NULL, L"ByPassAll");	
	HDC hdc = g_GDI.GetDc(hwnd);
	RECT r;
	r.bottom = 10;
	r.left = 10;
	r.right = 10;
	r.top = 10;
	g_GDI.ExtTextOutW(hdc, 0, 0, 0,&r,L"123", 3, 0);
	g_GDI.GDIStopsCalling(Kpc);

	pPDriverObj->DriverUnload = UnLoadDriver;
	return STATUS_SUCCESS;

}

VOID UnLoadDriver(PDRIVER_OBJECT pPDriverObj)
{

}
